package org.dtrd.modules.evaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.evaluation.entity.bean.SleepInfo;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdSleep;

/**
 * <p>
 * 匹兹堡睡眠质量评估 服务类
 * </p>
 *
 * @author QR
 * @since 2021-09-26
 */
public interface IDtrdEntEvaluationRdSleepService extends IService<DtrdEntEvaluationRdSleep> {

    /**
     * 添加匹兹堡睡眠质量评估
     * @return
     */
    SleepInfo saveSleepInfo(SleepInfo sleepInfo);


    /**
     * 获取最新的匹兹堡睡眠质量评估记录
     */
    SleepInfo getSleepInfoLatest(Integer patientId);
}
